package com.ithao.service;

import com.ithao.entity.PageResult;
import com.ithao.entity.QueryPageBean;
import com.ithao.pojo.Permission;

import java.util.List;

/**
 * @author : ZhangHao
 * @version :1.0
 * @date :Created in 2020/4/3
 * @description :
 */
public interface PermissionService {
    List<Permission> findAll();

    void delete(Integer id);

    PageResult findPage(QueryPageBean queryPageBean);

    void add(Permission permission);

    void edit(Permission permission);

    Permission findById(Integer id);
}
